package com.chat.api.web.po;

import com.chat.api.web.vo.BaseIDWorkEntity;
import lombok.Data;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Proxy(lazy = false)
@Data
@Table(name = "approval")
public class ApprovalBean extends BaseIDWorkEntity<ApprovalBean> {

    @Column(name = "name")
    private String name;

    @Column(name = "iphone")
    private String iphone;

    @Column(name = "email")
    private String email;

    @Column(name = "job")
    private String job;

    @Column(name = "initiator")
    private Long initiatorId;//发起人

    @Column(name = "approver")
    private String approverId;//审批人

    @Column(name = "score")
    private Integer score;

    @Column(name = "level")
    private Integer level;

    @Column(name = "is_inner")
    private Integer isInner;

    @Column(name = "start_time")
    private Date startTime;

    @Column(name = "end_time")
    private Date endTime;

    @Column(name = "proc_inst_id")
    private String procInstId;//流程实例id


}
